<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__PUBLIC__/style/style.css" rel="stylesheet" type="text/css" />
</head>
<body id="page">
<h2 class="tag">当前位: 模版风格管理 &gt; 模版选择</h2>
<div class="box">
  <div class="page_menu"><a href="#">模版管理</a></div>
  <div class="infobox">
    <form action="_URL__/set_up" method="post" >
      <table border="0" cellpadding="3" cellspacing="1" class="table_b">
        <tr>
          <td>
        {loop $style $key $val}
          <div class="skins" onmouseover=this.className='skinbg_over'; onmouseout=this.className='skins';
          {if $now_style==$val['FileName']}style="background:#ecf2f7;"{/if}>
              <table border="0" cellspacing="3" cellpadding="1" class="t_skin">
                <tr>
                  <td align="left" valign="top"><a href="__URL__/save-{$val['FileName']}"><img src="__ROOT__/../{$val['pic']}" width="150" height="120" style="border:1px solid #e3e3e3;background:#fff;padding:2px;" /></a></td>
                </tr>
                <tr>
                  <td style="line-height:20px; padding:5px;"><b>名称</b>：{$val['SiteName']}<br />
                    <b>作者：</b>{$val['SiteMaster']}<br />
                    <b>日期：</b>{$val['PubDate']}<br /></td>
                </tr>
                <tr>
                  <td><input name="button" type="button"  class="button" onClick="if(confirm('确定要应用该模板么?\n\n需要重新生成网站后才能生效！'))location.href='__URL__/save-{$val['FileName']}';return false;" value="应用" />
                    <input name="button" type="button" class="button" onclick="location.href='__URL__/del-{$val['FileName']}'" value="删除" /></td>
                </tr>
              </table>
            </div>
          {/loop}
          </td>
        </tr>
      </table>
    </form>
  </div>
</div>
</body>
</html>